import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
import 'package:flutter_app/state.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context){
    // final wordPair = new WordPair.random();

    return new MaterialApp(
      title: 'Startup Name Generator',
      /* 主题 start*/
      theme: new ThemeData(
        primaryColor: Colors.yellow,
      ),
      /* 主题 end*/
      home: new RandomWords(),
    );
  }
}

class RandomWords extends StatefulWidget{
  @override
  RandomWordsState createState() => new RandomWordsState();
}



